/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: GodK
 * Date: 2024-05-07
 * Time: 17:52
 */
public class Test {
    public static void main(String[] args) {
        //int[] arr = {4, 2, 6, 1, 3, 5, 15, 7, 16, 14};
        int[] arr = {16, 3, 7, 11, 9, 26, 18, 14, 15};
        RBTree rbTree = new RBTree();
        for(int i : arr){
            rbTree.insert(i);
        }
        System.out.println(rbTree.isRBTree());
    }
}
